/*
 $Id: set_init.c,v 1.1 2005/05/20 22:33:44 olivier Exp $
 +----------------------------------------------------------------------+
 | Copyright : mFactories 2001, 2005 
 +----------------------------------------------------------------------+
 | Projet : DataStructure
 +----------------------------------------------------------------------+
 | $Source: /cvs/DataStructure/DataStructureLib/src/set/set_init.c,v $
 | $Author: olivier $
 | $Date: 2005/05/20 22:33:44 $
 | $Revision: 1.1 $ 
 +----------------------------------------------------------------------+
 | Description :                                              
    Manipulation d'ensembles                             
 +----------------------------------------------------------------------+
 | Historique :
 $Log: set_init.c,v $
 Revision 1.1  2005/05/20 22:33:44  olivier
 Explosion des sources : 1 fichier = 1 fonction


 +----------------------------------------------------------------------+
*/

/**
 * Inclusions standards
 */
#include <ukapi.h>

/**
 * Inclusions locales
 */
#include <set.h>

int set_init( pset_t ens, int (*corresp)( const pointer_t key1, const pointer_t key2 ), void (*destroy)( pointer_t data ) )
{
	/* Initialisation de l'ensemble. */
	return list_create( ens, destroy, corresp, null );
}
